############################################################
## UPDATE SHOW PRODUCT SOLD THUMBNAIL CUSTOMER HISTORY v2.1
############################################################
##
## Create by Reflex Ocasion
## (http://www.reflex-ocasion.com.es)
##
## Based and adapted on the contribution
##
## lytebox
## (http://addons.oscommerce.com/info/7298)
## by madmaxx
##
############################################################
## FILES AFFECTED
############################################################
##
## catalog/account_history_info.php
##
############################################################
## BACK UP - BACK UP - BACK UP - BACK UP - BACK UP - BACK UP
############################################################


Upload all files to the folder admin catalog


OPEN catalog/account_history_info.php

------------------------------------------------------------
FIND
------------------------------------------------------------

<script language="javascript">
<!--
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=500,height=500,screenX=150,screenY=150,top=150,left=150')
}
//-->
</script>


------------------------------------------------------------
REPLACE WITH 
------------------------------------------------------------

<link rel="stylesheet" type="text/css" href="lytebox.css" media="screen">
<script type="text/javascript" src="js/lytebox.js"></script>


------------------------------------------------------------
FIND
------------------------------------------------------------

    echo '          </td>' . "\n" .
         '            <td class="main" valign="top" align="left"><a href="javascript:popupWindow(\'' . DIR_WS_IMAGES . $orders_products_pic['products_image'] . '\'' . ')">' . tep_image(DIR_WS_IMAGES . $orders_products_pic['products_image'], $order->products[$i]['name'], ORDERS_IMAGE_WIDTH,  ORDERS_IMAGE_HEIGHT) . '</a></td>' . "\n" .


------------------------------------------------------------
REPLACE WITH 
------------------------------------------------------------

      echo '          </td>' . "\n" .
           '            <td class="main" valign="top" align="left"><a href='.tep_href_link(DIR_WS_IMAGES . $orders_products_pic['products_image']) . ' target="_blank" rel="lytebox[group]" title='.$order->products[$i]['name'].'>'.tep_image(DIR_WS_IMAGES . $orders_products_pic['products_image'], $order->products[$i]['name'], ORDERS_IMAGE_WIDTH,  ORDERS_IMAGE_HEIGHT) . '</a></td>' . "\n" .


------------------------------------------------------------
SAVE and CLOSE catalog/account_history_info.php
------------------------------------------------------------

